import type { Metadata } from "next";
import "./globals.css";


export const metadata: Metadata = {
  title: "next.js教程",
  description: "create next app",
};

export default function RootLayout({
  children,
}: Readonly<{
  children: React.ReactNode;
}>) {
  return (
    <html lang="en">
      <body>
        <header style={{ padding: '1rem', borderBottom: '1px solid #ccc' }}>
          <h1>next.js教程</h1>
        </header>
        <main>{children}</main>
      </body>
    </html >
  );
}
